import request from '@/utils/request'

export const doLogin = (param) => {
    return request.post('/login', param, {loading: false})
}

export const doLogout = () => {
    return request.post('/logout', {})
}

export const updateLoginPwd = (password) => {
    return request.post('/password/update', {
        password
    })
}
